

import 'dart:ui';

import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:google_fonts/google_fonts.dart';

class UIHelper{


  static createMainDecration(Color color) {
    return BoxDecoration(
      color: color,
      borderRadius: BorderRadius.circular(23.r),
      border: const Border.fromBorderSide(BorderSide(color: Colors.red, width: 2)),
      // gradient: RadialGradient(colors: [Colors.amberAccent,Colors.amberAccent.withAlpha(180)])
    );
  }

  static TextStyle createMainTextStyle({double fontSize = 50, Color color = Colors.white}) {
    return GoogleFonts.poppins(color: color, fontSize: fontSize, fontWeight: FontWeight.w600);
  }
}